package util

import (
	"math/rand"
	"time"
)

// Random 随机
func Random(ran int) int {
	rand.Seed(time.Now().UnixNano())
	return rand.Intn(ran)
}
